export function Fetch(url, method, params = {}) {
    let baseURL = "/ks-data-bussiness-api/"
    return fetch(baseURL + url, {
            method: method,
            mode: "cors",
            headers: {
                "Content-Type": "application/json",
            },
            body: JSON.stringify(params),
        })
        .then((response) => response.json())
}
